package com.lanqiao.attendance.pojo;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;

@Data
@ApiModel("学生实体类")
public class Student {
    @ApiModelProperty("学生id")
    private long id;
    @ApiModelProperty("学生账号")
    private String account;
    @ApiModelProperty("学生密码")
    private String password;
    @ApiModelProperty("学校")
    private String school;
    @ApiModelProperty("学生姓名")
    private String name;
    @ApiModelProperty("专业")
    private String major;
    @ApiModelProperty("性别")
    private String gender;
    @ApiModelProperty("身份证号")
    private String idCard;
    @ApiModelProperty("住址")
    private String address;
    @ApiModelProperty("电话号码")
    private String telephone;
    @ApiModelProperty("班级名")
    private String className;
    @ApiModelProperty("状态")
    private String status;
    @ApiModelProperty("注册时间")
    private Timestamp createTime;
    @ApiModelProperty("更新时间")
    private Timestamp updateTime;
    @ApiModelProperty("邮箱")
    private String email;
    @ApiModelProperty("角色")
    private int role;
    @ApiModelProperty("头像")
    private String headImg="static/default.png";

}

